home *** CD-ROM | disk | FTP | other *** search
Wrap
VERSION 5.00 Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "comdlg32.ocx" Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx" Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomct2.ocx" Object = "{35591CB0-4180-43DE-ACA1-00C9EBA25C61}#2.0#0"; "NCTAudioEditor2.dll" Begin VB.Form frmDialog BorderStyle = 1 'Fixed Single Caption = "TestVB NCTAudioEditor ActiveX DLL" ClientHeight = 7200 ClientLeft = 45 ClientTop = 615 ClientWidth = 13950 Icon = "frmDialog.frx":0000 LinkTopic = "Form1" MaxButton = 0 'False MinButton = 0 'False ScaleHeight = 7200 ScaleWidth = 13950 StartUpPosition = 2 'CenterScreen Begin NCTAUDIOEDITOR2LibCtl.AudioEditor2 AudioEditor1 Height = 5535 Left = 120 OleObjectBlob = "frmDialog.frx":0442 TabIndex = 36 Top = 960 Width = 11055 End Begin VB.Frame frmSelect Caption = "Select" Height = 780 Left = 11325 TabIndex = 24 Top = 5730 Width = 2520 Begin VB.CheckBox chSelect Caption = "Select" Height = 375 Left = 1650 TabIndex = 29 Top = 270 Width = 765 End Begin VB.TextBox txtSelEnd Height = 330 Left = 855 TabIndex = 26 Top = 315 Width = 390 End Begin VB.TextBox txtSelStart Height = 330 Left = 120 TabIndex = 25 Top = 315 Width = 390 End Begin MSComCtl2.UpDown udSelEnd Height = 330 Left = 1260 TabIndex = 27 Top = 315 Width = 240 _ExtentX = 423 _ExtentY = 582 _Version = 393216 Value = 100 BuddyControl = "txtSelEnd" BuddyDispid = 196611 OrigLeft = 12915 OrigTop = 6885 OrigRight = 13155 OrigBottom = 7170 Max = 100 SyncBuddy = -1 'True Wrap = -1 'True BuddyProperty = 65547 Enabled = -1 'True End Begin MSComCtl2.UpDown udSelStart Height = 330 Left = 540 TabIndex = 28 Top = 315 Width = 240 _ExtentX = 423 _ExtentY = 582 _Version = 393216 BuddyControl = "txtSelStart" BuddyDispid = 196612 OrigLeft = 12780 OrigTop = 6390 OrigRight = 13020 OrigBottom = 6720 Max = 100 SyncBuddy = -1 'True Wrap = -1 'True BuddyProperty = 65547 Enabled = -1 'True End End Begin MSComctlLib.StatusBar StatusBar1 Align = 2 'Align Bottom Height = 285 Left = 0 TabIndex = 23 Top = 6915 Width = 13950 _ExtentX = 24606 _ExtentY = 503 _Version = 393216 BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628} NumPanels = 7 BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628} AutoSize = 1 Object.Width = 7382 EndProperty BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628} AutoSize = 1 Object.Width = 7382 EndProperty BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628} AutoSize = 2 EndProperty BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628} Object.Width = 1764 MinWidth = 1764 EndProperty BeginProperty Panel5 {8E3867AB-8586-11D1-B16A-00C0F0283628} Object.Width = 1764 MinWidth = 1764 EndProperty BeginProperty Panel6 {8E3867AB-8586-11D1-B16A-00C0F0283628} Object.Width = 1764 MinWidth = 1764 EndProperty BeginProperty Panel7 {8E3867AB-8586-11D1-B16A-00C0F0283628} Object.Width = 1764 MinWidth = 1764 EndProperty EndProperty End Begin MSComctlLib.Toolbar Toolbar2 Align = 1 'Align Top Height = 420 Left = 0 TabIndex = 22 Top = 420 Width = 13950 _ExtentX = 24606 _ExtentY = 741 ButtonWidth = 609 ButtonHeight = 582 Appearance = 1 ImageList = "imlToolbarIcons" _Version = 393216 BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} NumButtons = 22 BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Invert" Object.ToolTipText = "Invert" ImageKey = "Invert3" EndProperty BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Silence" Object.ToolTipText = "Silence" ImageKey = "Silence" EndProperty BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Amplify+" Object.ToolTipText = "Amplify+" ImageKey = "Amplify+1" EndProperty BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Amplify-" Object.ToolTipText = "Amplify-" ImageKey = "Amplify-" EndProperty BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "FadeIn" Object.ToolTipText = "FadeIn" ImageKey = "FadeIn161" EndProperty BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "FadeOut" Object.ToolTipText = "FadeOut" ImageKey = "FadeOut16" EndProperty BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Normalize" Object.ToolTipText = "Normalize" ImageKey = "Normalize" EndProperty BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628} Style = 3 EndProperty BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Flanger" Object.ToolTipText = "Flanger" ImageKey = "Flanger1" EndProperty BeginProperty Button10 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Vibrato" Object.ToolTipText = "Vibrato" ImageKey = "Vibrato1" EndProperty BeginProperty Button11 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Delay" Object.ToolTipText = "Delay" ImageKey = "Echo16" EndProperty BeginProperty Button12 {66833FEA-8583-11D1-B16A-00C0F0283628} Style = 3 EndProperty BeginProperty Button13 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "NotchFilter" Object.ToolTipText = "Notch Filter" ImageKey = "NotchFilter2" EndProperty BeginProperty Button14 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "BPF" Object.ToolTipText = "Band Pass Filter" ImageKey = "BPF" EndProperty BeginProperty Button15 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "HPF" Object.ToolTipText = "High Pass Filter" ImageKey = "HPF" EndProperty BeginProperty Button16 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "LPF" Object.ToolTipText = "Low Pass Filter" ImageKey = "LPF1" EndProperty BeginProperty Button17 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "HSF" Object.ToolTipText = "High Shelf Filter" ImageKey = "HSF" EndProperty BeginProperty Button18 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "LSF" Object.ToolTipText = "Low Shelf Filter" ImageKey = "LSF1" EndProperty BeginProperty Button19 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "FFT" Object.ToolTipText = "FFT Filter" ImageKey = "FFT16" EndProperty BeginProperty Button20 {66833FEA-8583-11D1-B16A-00C0F0283628} Style = 3 EndProperty BeginProperty Button21 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "InsSilence" Object.ToolTipText = "Insert Silence" ImageKey = "InsSilence2" EndProperty BeginProperty Button22 {66833FEA-8583-11D1-B16A-00C0F0283628} Style = 3 EndProperty EndProperty End Begin VB.Frame frmZoom Caption = "Zoom" Height = 960 Left = 11325 TabIndex = 19 Top = 4770 Width = 2520 Begin VB.TextBox txtZHend Height = 330 Left = 735 TabIndex = 31 Top = 480 Width = 390 End Begin VB.TextBox txtZHstart Height = 330 Left = 90 TabIndex = 30 Top = 480 Width = 390 End Begin MSComCtl2.UpDown udZV Height = 330 Left = 2130 TabIndex = 21 Top = 480 Width = 240 _ExtentX = 423 _ExtentY = 582 _Version = 393216 Value = 100 BuddyControl = "txtZV" BuddyDispid = 196616 OrigLeft = 1845 OrigTop = 270 OrigRight = 2085 OrigBottom = 645 Increment = 5 Max = 500 Min = 1 SyncBuddy = -1 'True Wrap = -1 'True BuddyProperty = 65547 Enabled = -1 'True End Begin VB.TextBox txtZV Height = 330 Left = 1710 TabIndex = 20 Top = 480 Width = 390 End Begin MSComCtl2.UpDown udZHend Height = 330 Left = 1140 TabIndex = 32 Top = 480 Width = 240 _ExtentX = 423 _ExtentY = 582 _Version = 393216 Value = 100 BuddyControl = "txtZHend" BuddyDispid = 196614 OrigLeft = 12915 OrigTop = 6885 OrigRight = 13155 OrigBottom = 7170 Max = 100 SyncBuddy = -1 'True Wrap = -1 'True BuddyProperty = 65547 Enabled = -1 'True End Begin MSComCtl2.UpDown udZHstart Height = 330 Left = 480 TabIndex = 33 Top = 480 Width = 240 _ExtentX = 423 _ExtentY = 582 _Version = 393216 BuddyControl = "txtZHstart" BuddyDispid = 196615 OrigLeft = 12780 OrigTop = 6390 OrigRight = 13020 OrigBottom = 6720 Max = 100 SyncBuddy = -1 'True Wrap = -1 'True BuddyProperty = 65547 Enabled = -1 'True End Begin VB.Label lblVertical Caption = "Vertical:" Height = 195 Left = 1710 TabIndex = 35 Top = 210 Width = 765 End Begin VB.Label lblHorizontal Caption = "Horizontal:" Height = 195 Left = 90 TabIndex = 34 Top = 210 Width = 855 End End Begin MSComctlLib.ProgressBar Progress Height = 90 Index = 0 Left = 120 TabIndex = 17 Top = 6720 Width = 11100 _ExtentX = 19579 _ExtentY = 159 _Version = 393216 Appearance = 0 End Begin VB.Frame frmInput Caption = "Record" Height = 3945 Left = 12585 TabIndex = 7 Top = 810 Width = 1260 Begin VB.ComboBox cmbDevInput Height = 315 Left = 60 Style = 2 'Dropdown List TabIndex = 14 Top = 210 Width = 1125 End Begin VB.Frame frmVolumeInput Caption = "Volume" Height = 3285 Left = 60 TabIndex = 8 Top = 570 Width = 1125 Begin MSComctlLib.Slider sldrVolBalanceInp Height = 300 Left = 150 TabIndex = 12 Top = 570 Width = 825 _ExtentX = 1455 _ExtentY = 529 _Version = 393216 SmallChange = 5 Max = 100 SelStart = 50 TickFrequency = 50 Value = 50 TextPosition = 1 End Begin VB.ComboBox cmbSrcInput Height = 315 Left = 90 Style = 2 'Dropdown List TabIndex = 13 Top = 210 Width = 975 End Begin VB.CheckBox chSelectInput Alignment = 1 'Right Justify Caption = "Select:" Height = 240 Left = 120 TabIndex = 10 Top = 2580 Width = 870 End Begin VB.CommandButton cmdAdvancedInput Caption = "Advanced" Height = 330 Left = 90 TabIndex = 9 Top = 2850 Visible = 0 'False Width = 990 End Begin MSComctlLib.Slider sldrVolumeInp Height = 1785 Left = 270 TabIndex = 11 Top = 840 Width = 630 _ExtentX = 1111 _ExtentY = 3149 _Version = 393216 Orientation = 1 SmallChange = 5 Max = 65535 SelStart = 65535 TickStyle = 2 TickFrequency = 6000 Value = 65535 End End End Begin VB.Frame frmOutput Caption = "Play" Height = 3945 Left = 11310 TabIndex = 1 Top = 810 Width = 1260 Begin VB.ComboBox cmbDevOutput Height = 315 Left = 60 Style = 2 'Dropdown List TabIndex = 16 Top = 210 Width = 1125 End Begin VB.Frame frmVolumeOutput Caption = "Volume" Height = 3270 Left = 60 TabIndex = 2 Top = 570 Width = 1125 Begin MSComctlLib.Slider sldrVolBalanceOut Height = 300 Left = 150 TabIndex = 6 Top = 570 Width = 825 _ExtentX = 1455 _ExtentY = 529 _Version = 393216 SmallChange = 5 Max = 100 SelStart = 50 TickFrequency = 50 Value = 50 TextPosition = 1 End Begin VB.ComboBox cmbSrcOutput Height = 315 Left = 90 Style = 2 'Dropdown List TabIndex = 15 Top = 210 Width = 975 End Begin VB.CheckBox chSelectOutput Alignment = 1 'Right Justify Caption = "Select :" Height = 240 Left = 120 TabIndex = 4 Top = 2580 Width = 870 End Begin VB.CommandButton cmdAdvancedOutput Caption = "Advanced" Height = 330 Left = 90 TabIndex = 3 Top = 2850 Visible = 0 'False Width = 990 End Begin MSComctlLib.Slider sldrVolumeOut Height = 1785 Left = 270 TabIndex = 5 Top = 840 Width = 630 _ExtentX = 1111 _ExtentY = 3149 _Version = 393216 Orientation = 1 SmallChange = 5 Max = 65535 SelStart = 65535 TickStyle = 2 TickFrequency = 6000 Value = 65535 End End End Begin MSComDlg.CommonDialog CommonDialog1 Left = 4950 Top = 720 _ExtentX = 847 _ExtentY = 847 _Version = 393216 End Begin MSComctlLib.ImageList imlToolbarIcons Left = 9240 Top = 600 _ExtentX = 1005 _ExtentY = 1005 BackColor = -2147483643 ImageWidth = 16 ImageHeight = 16 MaskColor = 12632256 _Version = 393216 BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} NumListImages = 81 BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":0466 Key = "New" EndProperty BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":0578 Key = "Open" EndProperty BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":068A Key = "Save" EndProperty BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":079C Key = "Delete" EndProperty BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":08AE Key = "Copy" EndProperty BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":09C0 Key = "Cut" EndProperty BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":0AD2 Key = "Paste" EndProperty BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":0BE4 Key = "Undo" EndProperty BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":0CF6 Key = "Redo" EndProperty BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":0E08 Key = "Zoomin" EndProperty BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":1122 Key = "Zoomout" EndProperty BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":143C Key = "Forward" EndProperty BeginProperty ListImage13 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":154E Key = "Stop" EndProperty BeginProperty ListImage14 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":1868 Key = "arrow_down" EndProperty BeginProperty ListImage15 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":1B82 Key = "Icon11" EndProperty BeginProperty ListImage16 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":1D5C Key = "Ico00001" EndProperty BeginProperty ListImage17 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":1F36 Key = "Tools3d1A" EndProperty BeginProperty ListImage18 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":2148 Key = "Key5_2_1" EndProperty BeginProperty ListImage19 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":22BE Key = "Key5_1_1" EndProperty BeginProperty ListImage20 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":2434 Key = "Key5_3_1" EndProperty BeginProperty ListImage21 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":25AA Key = "ZoomFull1" EndProperty BeginProperty ListImage22 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":28BC Key = "Properties" EndProperty BeginProperty ListImage23 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":29CE Key = "CEnable3" EndProperty BeginProperty ListImage24 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":2AE0 Key = "FadeIn" EndProperty BeginProperty ListImage25 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":3732 Key = "FadeOut" EndProperty BeginProperty ListImage26 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":4384 Key = "icon11" EndProperty BeginProperty ListImage27 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":455E Key = "icon1" EndProperty BeginProperty ListImage28 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":4738 Key = "icon2" EndProperty BeginProperty ListImage29 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":4912 Key = "voice" EndProperty BeginProperty ListImage30 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":4AEC Key = "icon12" EndProperty BeginProperty ListImage31 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":4CC6 Key = "icon21" EndProperty BeginProperty ListImage32 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":4EA0 Key = "voice1" EndProperty BeginProperty ListImage33 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":507A Key = "Invert" EndProperty BeginProperty ListImage34 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":518C Key = "Invert1" EndProperty BeginProperty ListImage35 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":529E Key = "FadeIn16" EndProperty BeginProperty ListImage36 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":53B0 Key = "FadeOut161" EndProperty BeginProperty ListImage37 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":54C2 Key = "Left" EndProperty BeginProperty ListImage38 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":55D4 Key = "Right" EndProperty BeginProperty ListImage39 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":56E6 Key = "CEnable21" EndProperty BeginProperty ListImage40 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":57F8 Key = "FFT161" EndProperty BeginProperty ListImage41 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":590A Key = "Amplify+" EndProperty BeginProperty ListImage42 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":5A1C Key = "InsSilence" EndProperty BeginProperty ListImage43 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":5B2E Key = "InsNoise1" EndProperty BeginProperty ListImage44 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":5C40 Key = "Flanger" EndProperty BeginProperty ListImage45 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":5D52 Key = "NotchFilter" EndProperty BeginProperty ListImage46 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":5E64 Key = "NotchFilter1" EndProperty BeginProperty ListImage47 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":5F76 Key = "PlayToEnd" EndProperty BeginProperty ListImage48 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":6088 Key = "PlayLooped" EndProperty BeginProperty ListImage49 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":619A Key = "Invert3" EndProperty BeginProperty ListImage50 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":62AC Key = "Silence" EndProperty BeginProperty ListImage51 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":63BE Key = "Amplify+1" EndProperty BeginProperty ListImage52 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":64D0 Key = "Amplify-" EndProperty BeginProperty ListImage53 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":65E2 Key = "FadeIn161" EndProperty BeginProperty ListImage54 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":66F4 Key = "Normalize" EndProperty BeginProperty ListImage55 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":6806 Key = "Flanger1" EndProperty BeginProperty ListImage56 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":6918 Key = "FFT16" EndProperty BeginProperty ListImage57 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":6A2A Key = "NotchFilter2" EndProperty BeginProperty ListImage58 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":6B3C Key = "FadeOut16" EndProperty BeginProperty ListImage59 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":6C4E Key = "InsNoise" EndProperty BeginProperty ListImage60 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":6D60 Key = "InsSilence1" EndProperty BeginProperty ListImage61 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":6E72 Key = "InsSilence2" EndProperty BeginProperty ListImage62 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":6F84 Key = "InsSin" EndProperty BeginProperty ListImage63 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":7096 Key = "HPF" EndProperty BeginProperty ListImage64 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":71A8 Key = "HSF" EndProperty BeginProperty ListImage65 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":72BA Key = "LPF" EndProperty BeginProperty ListImage66 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":73CC Key = "LSF" EndProperty BeginProperty ListImage67 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":74DE Key = "LPF1" EndProperty BeginProperty ListImage68 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":75F0 Key = "LSF1" EndProperty BeginProperty ListImage69 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":7702 Key = "OpenCD" EndProperty BeginProperty ListImage70 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":7814 Key = "Vibrato" EndProperty BeginProperty ListImage71 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":7926 Key = "Vibrato1" EndProperty BeginProperty ListImage72 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":7A38 Key = "OpenCD1" EndProperty BeginProperty ListImage73 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":7B4A Key = "BPF" EndProperty BeginProperty ListImage74 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":7C5C Key = "Echo16" EndProperty BeginProperty ListImage75 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":7D6E Key = "Mix16" EndProperty BeginProperty ListImage76 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":7E80 Key = "Pause" EndProperty BeginProperty ListImage77 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":7F92 Key = "Pause1" EndProperty BeginProperty ListImage78 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":80A4 Key = "Continue1" EndProperty BeginProperty ListImage79 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":81B6 Key = "AGC" EndProperty BeginProperty ListImage80 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":8390 Key = "AGC1" EndProperty BeginProperty ListImage81 {2C247F27-8591-11D1-B16A-00C0F0283628} Picture = "frmDialog.frx":84A2 Key = "AGC2" EndProperty EndProperty End Begin MSComctlLib.ProgressBar Progress Height = 90 Index = 1 Left = 120 TabIndex = 18 Top = 6600 Width = 11100 _ExtentX = 19579 _ExtentY = 159 _Version = 393216 Appearance = 0 End Begin MSComctlLib.Toolbar Toolbar1 Align = 1 'Align Top Height = 420 Left = 0 TabIndex = 0 Top = 0 Width = 13950 _ExtentX = 24606 _ExtentY = 741 ButtonWidth = 609 ButtonHeight = 582 Appearance = 1 ImageList = "imlToolbarIcons" _Version = 393216 BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} NumButtons = 31 BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "New" Object.ToolTipText = "New" ImageKey = "New" EndProperty BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Open" Object.ToolTipText = "Open" ImageKey = "Open" EndProperty BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Save" Object.ToolTipText = "Save" ImageKey = "Save" EndProperty BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Close" Object.ToolTipText = "Close" ImageKey = "Delete" EndProperty BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628} Style = 3 EndProperty BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Properties" Object.ToolTipText = "Properties" ImageKey = "Properties" EndProperty BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628} Style = 3 EndProperty BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Copy" Object.ToolTipText = "Copy" ImageKey = "Copy" EndProperty BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Cut" Object.ToolTipText = "Cut" ImageKey = "Cut" EndProperty BeginProperty Button10 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Paste" Object.ToolTipText = "Paste" ImageKey = "Paste" EndProperty BeginProperty Button11 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Mix" Object.ToolTipText = "Mix" ImageKey = "Mix16" EndProperty BeginProperty Button12 {66833FEA-8583-11D1-B16A-00C0F0283628} Style = 3 EndProperty BeginProperty Button13 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Undo" Object.ToolTipText = "Undo" ImageKey = "Undo" EndProperty BeginProperty Button14 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Redo" Object.ToolTipText = "Redo" ImageKey = "Redo" EndProperty BeginProperty Button15 {66833FEA-8583-11D1-B16A-00C0F0283628} Style = 3 EndProperty BeginProperty Button16 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Zoomin" Object.ToolTipText = "Zoom In" ImageKey = "Zoomin" EndProperty BeginProperty Button17 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Zoomout" Object.ToolTipText = "Zoom Out" ImageKey = "Zoomout" EndProperty BeginProperty Button18 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "ZoomFull1" Object.ToolTipText = "Zoom Full" ImageKey = "ZoomFull1" EndProperty BeginProperty Button19 {66833FEA-8583-11D1-B16A-00C0F0283628} Style = 3 EndProperty BeginProperty Button20 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Play" Object.ToolTipText = "Play" ImageKey = "Key5_2_1" EndProperty BeginProperty Button21 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "PlayToEnd" Object.ToolTipText = "PlayToEnd" ImageKey = "PlayToEnd" EndProperty BeginProperty Button22 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "PlayLooped" Object.ToolTipText = "PlayLooped" ImageKey = "PlayLooped" EndProperty BeginProperty Button23 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Record" Object.ToolTipText = "Record" ImageKey = "Key5_1_1" EndProperty BeginProperty Button24 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Pause" Object.ToolTipText = "Pause" ImageKey = "Pause1" EndProperty BeginProperty Button25 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Continue" Object.ToolTipText = "Continue" ImageKey = "Continue1" EndProperty BeginProperty Button26 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Stop" ImageKey = "Key5_3_1" EndProperty BeginProperty Button27 {66833FEA-8583-11D1-B16A-00C0F0283628} Style = 3 EndProperty BeginProperty Button28 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Left" Object.ToolTipText = "Left Channel" ImageKey = "Left" Style = 1 Value = 1 EndProperty BeginProperty Button29 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "Right" Object.ToolTipText = "Right Channel" ImageKey = "Right" Style = 1 Value = 1 EndProperty BeginProperty Button30 {66833FEA-8583-11D1-B16A-00C0F0283628} Style = 3 EndProperty BeginProperty Button31 {66833FEA-8583-11D1-B16A-00C0F0283628} Key = "AGC" Object.ToolTipText = "Auto Gain Control" ImageKey = "AGC2" Style = 1 EndProperty EndProperty End Begin VB.Menu mnuFile Caption = "File" Begin VB.Menu mnuNew Caption = "New" End Begin VB.Menu mnuOpen Caption = "Open ..." End Begin VB.Menu mnu3 Caption = "-" End Begin VB.Menu mnuConvert Caption = "Convert Sample Type ..." End Begin VB.Menu mnu2 Caption = "-" End Begin VB.Menu mnuSave Caption = "Save as ..." End Begin VB.Menu mnuSaveSelect Caption = "Save select as ..." End Begin VB.Menu mnu1 Caption = "-" End Begin VB.Menu mnuExit Caption = "Exit" End End Begin VB.Menu mnuView Caption = "View" Begin VB.Menu mnuViewWaveForm Caption = "WaveForm View" Checked = -1 'True End Begin VB.Menu mnuViewSpectral Caption = "Spectral View" End Begin VB.Menu mnu12 Caption = "-" End Begin VB.Menu mnuInfo Caption = "Info List ..." End Begin VB.Menu mnuMarkers Caption = "Marker List ..." End End Begin VB.Menu mnuEdit Caption = "Edit" Begin VB.Menu mnuCopy Caption = "Copy" End Begin VB.Menu mnuCut Caption = "Cut" End Begin VB.Menu mnuPaste Caption = "Paste" End Begin VB.Menu mnuPasteFile Caption = "Paste from File ..." End Begin VB.Menu mnu11 Caption = "-" End Begin VB.Menu mnuCopyWinClipboard Caption = "Copy to Windows Clipboard " End Begin VB.Menu mnuPasteWinClipboard Caption = "Paste from Windows Clipboard" End Begin VB.Menu mnu4 Caption = "-" End Begin VB.Menu mnuMix Caption = "Mix" End Begin VB.Menu mnuMixFile Caption = "Mix from File ..." End Begin VB.Menu mnu7 Caption = "-" End Begin VB.Menu mnuInsSilence Caption = "Insert Silence" End Begin VB.Menu mnuDelSilence Caption = "DeleteSilence" End End Begin VB.Menu mnuOperation Caption = "Operation" Begin VB.Menu mnuAmplify1 Caption = "Amplify +" End Begin VB.Menu mnuAmplify2 Caption = "Amplify -" End Begin VB.Menu mnuFade1 Caption = "Fade +" End Begin VB.Menu mnuFade2 Caption = "Fade -" End Begin VB.Menu mnuNormalize Caption = "Normalize" End Begin VB.Menu mnu10 Caption = "-" End Begin VB.Menu mnuInvert Caption = "Invert" End Begin VB.Menu mnuFlanger Caption = "Flanger" End Begin VB.Menu mnuDelay Caption = "Delay" End Begin VB.Menu mnuVibrato Caption = "Vibrato" End Begin VB.Menu mnu9 Caption = "-" End Begin VB.Menu mnuStretch1 Caption = "Stretch +" End Begin VB.Menu mnuStretch2 Caption = "Stretch -" End End Begin VB.Menu mnuFilters Caption = "Filters" Begin VB.Menu mnuBandPass Caption = "Band Pass" End Begin VB.Menu mnuLowPass Caption = "Low Pass" End Begin VB.Menu mnuHighPass Caption = "High Pass" End Begin VB.Menu mnuLowShelf Caption = "Low Shelf" End Begin VB.Menu mnuHighShelf Caption = "High Shelf" End End Attribute VB_Name = "frmDialog" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Private Sub Form_Load() Dim kDeviceInput, kDeviceOutput If AudioEditor1.DeviceInput.Count < 1 Then Exit Sub kDeviceInput = AudioEditor1.DeviceInput.Num - 1 For i = 0 To AudioEditor1.DeviceInput.Count AudioEditor1.DeviceInput.Num = i If AudioEditor1.DeviceInput.DeviceLines.Count > 0 Then cmbDevInput.AddItem AudioEditor1.DeviceInput.Name cmbDevInput.ItemData(cmbDevInput.NewIndex) = i End If Next If kDeviceInput > cmbDevInput.NewIndex Then kDeviceInput = cmbDevInput.NewIndex AudioEditor1.DeviceInput.Num = kDeviceInput cmbDevInput.ListIndex = kDeviceInput If AudioEditor1.DeviceOutput.Count < 1 Then Exit Sub kDeviceOutput = AudioEditor1.DeviceOutput.Num - 1 For i = 0 To AudioEditor1.DeviceOutput.Count AudioEditor1.DeviceOutput.Num = i If AudioEditor1.DeviceOutput.DeviceLines.Count > 0 Then cmbDevOutput.AddItem AudioEditor1.DeviceOutput.Name cmbDevOutput.ItemData(cmbDevOutput.NewIndex) = i End If Next If kDeviceOutput > cmbDevOutput.NewIndex Then kDeviceOutput = cmbDevOutput.NewIndex 'if the number of available output devices is more than the number of added devices then set the kDeviceOutput value to the number of added devices AudioEditor1.DeviceOutput.Num = kDeviceOutput cmbDevOutput.ListIndex = kDeviceOutput SetSrcInput SetSrcOutput SetParam udZV.Value = 100 End Sub Private Sub AudioEditor1_GainChange(ByVal newVolume As Long) sldrVolumeInp.Value = 65535 - newVolume End Sub Private Sub AudioEditor1_MarkerClick(ByVal Num As Long) AudioEditor1.Markers.Num = Num AudioEditor1.Position.GoToMarker Num End Sub Private Sub AudioEditor1_MouseDown(ByVal Button As Long, ByVal Shift As Long, ByVal X As Integer, ByVal Y As Integer) 'MsgBox AudioEditor1.Position.CurrentPosition End Sub Private Sub AudioEditor1_NewMarker(ByVal Num As Long) MsgBox Num End Sub Private Sub AudioEditor1_ScaleXClick() MsgBox "Click Scale X" End Sub Private Sub AudioEditor1_ScaleYClick() MsgBox "Click Scale Y" End Sub Private Sub chSelect_Click() AudioEditor1.Position.Selected = chSelect.Value End Sub Private Sub chSelectInput_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) AudioEditor1.DeviceInput.DeviceLines.Select = chSelectInput.Value chSelectInput.Value = Abs(AudioEditor1.DeviceInput.DeviceLines.Select) End Sub Private Sub mnuConvert_Click() frmConvert.Show 1, Me End Sub Private Sub mnuCopyWinClipboard_Click() AudioEditor1.CopyToClipboard End Sub Private Sub mnuInfo_Click() frmInfo.Show 1, Me End Sub Private Sub mnuMarkers_Click() frmMarkers.Show 0, Me End Sub Private Sub mnuPasteWinClipboard_Click() AudioEditor1.PasteFromClipboard End Sub Private Sub mnuViewSpectral_Click() AudioEditor1.TypeView = SPECTRAL mnuViewWaveForm.Checked = False mnuViewSpectral.Checked = True End Sub Private Sub mnuViewWaveForm_Click() AudioEditor1.TypeView = WAVEFORM mnuViewWaveForm.Checked = True mnuViewSpectral.Checked = False End Sub Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button) On Error Resume Next Select Case Button.Key Case "AGC" If Button.Value = tbrPressed Then AudioEditor1.Recorder.AGCEnabled = True Else AudioEditor1.Recorder.AGCEnabled = False End If Case "Continue" AudioEditor1.Continue Case "Pause" AudioEditor1.Pause Case "Mix" AudioEditor1.Mix 100, -100 Case "PlayLooped" AudioEditor1.Play PLAYLOOPED Case "PlayToEnd" AudioEditor1.Play PLAYTOEND Case "Left" ChangeChannel Case "Right" ChangeChannel Case "Properties" frmSetup.Show 1, Me Case "ZoomFull1" AudioEditor1.ZoomFull Case "Record" AudioEditor1.Record Case "Stop" AudioEditor1.Stop Case "Play" AudioEditor1.Play Case "Zoomout" AudioEditor1.ZoomOut Case "Zoomin" AudioEditor1.ZoomIn Case "New" NewFile Case "Open" OpenFile Case "Save" SaveFile Case "Close" AudioEditor1.Close Case "Copy" AudioEditor1.Copy Case "Cut" AudioEditor1.Cut Case "Paste" AudioEditor1.Paste Case "Undo" AudioEditor1.Undo Case "Redo" AudioEditor1.Redo End Select SetParam End Sub Private Sub Toolbar2_ButtonClick(ByVal Button As MSComctlLib.Button) On Error Resume Next Select Case Button.Key Case "Delay" AudioEditor1.Transform.Delay 120, 30, 10 Case "BPF" AudioEditor1.Transform.BandPassFilter AudioEditor1.FileInfo.Frequency / 100, 100 Case "Vibrato" AudioEditor1.Transform.Vibrato 25, 3, 0 Case "LSF" AudioEditor1.Transform.LowShelfFilter AudioEditor1.FileInfo.Frequency / 200, -10, 100 Case "LPF" AudioEditor1.Transform.LowPassFilter AudioEditor1.FileInfo.Frequency / 50, 50 Case "HSF" AudioEditor1.Transform.HighShelfFilter AudioEditor1.FileInfo.Frequency / 100, -10, 100 Case "HPF" AudioEditor1.Transform.HighPassFilter AudioEditor1.FileInfo.Frequency / 100, 100 Case "InsSilence" AudioEditor1.Transform.InsertSilence 343 Case "NotchFilter" AudioEditor1.Transform.NotchFilter 50, 100 Case "Flanger" AudioEditor1.Transform.Flanger 50, 30, 10, 50, 5, 0 Case "Amplify-" AudioEditor1.Transform.Amplify 60 Case "Amplify+" AudioEditor1.Transform.Amplify 140 Case "FFT" FFTFilter Case "Silence" AudioEditor1.Transform.Silence Case "Invert" AudioEditor1.Transform.Invert Case "FadeOut" AudioEditor1.Transform.Fade 100, 0 Case "FadeIn" AudioEditor1.Transform.Fade 0, 100 Case "Normalize" AudioEditor1.Transform.Normalize 80, True End Select SetParam End Sub Private Sub mnuAmplify1_Click() AudioEditor1.Transform.Amplify 120 End Sub Private Sub mnuAmplify2_Click() AudioEditor1.Transform.Amplify 80 End Sub Private Sub mnuBandPass_Click() AudioEditor1.Transform.BandPassFilter AudioEditor1.FileInfo.Frequency / 200, 100 End Sub Private Sub mnuCopy_Click() AudioEditor1.Copy End Sub Private Sub mnuCut_Click() AudioEditor1.Cut End Sub Private Sub mnuDelay_Click() AudioEditor1.Transform.Delay 120, 85, 10 End Sub Private Sub mnuDelSilence_Click() AudioEditor1.Transform.DeleteSilence 40, 1, 10 End Sub Private Sub mnuExit_Click() Unload Me End Sub Private Sub mnuFade1_Click() AudioEditor1.Transform.Fade 0, 100 End Sub Private Sub mnuFade2_Click() AudioEditor1.Transform.Fade 100, 0 End Sub Private Sub mnuFlanger_Click() AudioEditor1.Transform.Flanger 50, 30, 10, 50, 5, 0 End Sub Private Sub mnuHighPass_Click() AudioEditor1.Transform.HighPassFilter AudioEditor1.FileInfo.Frequency / 50, 100 End Sub Private Sub mnuHighShelf_Click() AudioEditor1.Transform.HighShelfFilter AudioEditor1.FileInfo.Frequency / 50, -10, 100 End Sub Private Sub mnuInsSilence_Click() AudioEditor1.Transform.InsertSilence 500 End Sub Private Sub mnuInvert_Click() AudioEditor1.Transform.Invert End Sub Private Sub mnuLowPass_Click() AudioEditor1.Transform.LowPassFilter AudioEditor1.FileInfo.Frequency / 100, 50 End Sub Private Sub mnuLowShelf_Click() AudioEditor1.Transform.LowShelfFilter AudioEditor1.FileInfo.Frequency / 400, -10, 100 End Sub Private Sub mnuMix_Click() AudioEditor1.Mix 50, 50 End Sub Private Sub mnuMixFile_Click() Dim FileName As String With CommonDialog1 .FileName = "" .InitDir = "c:\" .DialogTitle = Title .CancelError = False .DialogTitle = "Open ..." .Filter = "Wav Files (*.wav)|*.wav" .Filter = .Filter + "|MP3 Files (*.mp3)|*.mp3" .ShowOpen If Len(.FileName) = 0 Then Exit Sub FileName = .FileName End With AudioEditor1.MixFromFile 100, FileName, -100 End Sub Private Sub mnuNew_Click() NewFile End Sub Private Sub mnuNormalize_Click() AudioEditor1.Normalize 100, True End Sub Private Sub mnuOpen_Click() OpenFile End Sub Private Sub mnuPaste_Click() AudioEditor1.Paste End Sub Private Sub mnuPasteFile_Click() Dim FileName As String FileName = ShowDialog(1) AudioEditor1.PasteFromFile FileName End Sub Private Sub mnuSave_Click() SaveFile End Sub Private Sub mnuSaveSelect_Click() Dim FileName As String AudioEditor1.SetFormatFromMenu FileName = ShowDialog(2) AudioEditor1.Save FileName, True End Sub Private Sub mnuStretch1_Click() AudioEditor1.Transform.TimeStretch 120 End Sub Private Sub mnuStretch2_Click() AudioEditor1.Transform.TimeStretch 80 End Sub Private Sub mnuVibrato_Click() AudioEditor1.Transform.Vibrato 25, 3, 0 End Sub Private Sub chSelectOutput_Click() AudioEditor1.DeviceOutput.DeviceLines.Select = chSelectOutput.Value chSelectOutput.Value = Abs(AudioEditor1.DeviceOutput.DeviceLines.Select) End Sub Private Sub cmbDevInput_Click() AudioEditor1.DeviceInput.Num = cmbDevInput.ItemData(cmbDevInput.ListIndex) SetSrcInput End Sub Private Sub cmbSrcInput_Click() AudioEditor1.DeviceInput.DeviceLines.Num = cmbSrcInput.ListIndex sldrVolumeInp.Value = 65535 - AudioEditor1.DeviceInput.DeviceLines.Volume sldrVolBalanceInp.Value = AudioEditor1.DeviceInput.DeviceLines.VolumeBalance chSelectInput.Value = Abs(AudioEditor1.DeviceInput.DeviceLines.Select) If AudioEditor1.DeviceInput.DeviceLines.AdvancedCount >= 0 Then cmdAdvancedInput.Visible = True Else cmdAdvancedInput.Visible = False End Sub Private Sub cmbDevOutput_Click() AudioEditor1.DeviceOutput.Num = cmbDevOutput.ItemData(cmbDevOutput.ListIndex) SetSrcOutput End Sub Private Sub cmbSrcOutput_Click() AudioEditor1.DeviceOutput.DeviceLines.Num = cmbSrcOutput.ListIndex sldrVolumeOut.Value = 65535 - AudioEditor1.DeviceOutput.DeviceLines.Volume sldrVolBalanceOut.Value = AudioEditor1.DeviceOutput.DeviceLines.VolumeBalance chSelectOutput.Value = AudioEditor1.DeviceOutput.DeviceLines.Select If AudioEditor1.DeviceOutput.DeviceLines.AdvancedCount >= 0 Then cmdAdvancedOutput.Visible = True Else cmdAdvancedOutput.Visible = False End Sub Private Sub cmdAdvancedOutput_Click() frmAdvO.Show 1, Me End Sub Private Sub cmdAdvancedInput_Click() frmAdvI.Show 1, Me End Sub Private Sub sldrVolumeOut_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) AudioEditor1.DeviceOutput.DeviceLines.Volume = 65535 - sldrVolumeOut.Value End Sub Private Sub sldrVolBalanceOut_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) AudioEditor1.DeviceOutput.DeviceLines.VolumeBalance = sldrVolBalanceOut.Value End Sub Private Sub sldrVolumeInp_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) AudioEditor1.DeviceInput.DeviceLines.Volume = 65535 - sldrVolumeInp.Value End Sub Private Sub sldrVolBalanceInp_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) AudioEditor1.DeviceInput.DeviceLines.VolumeBalance = sldrVolBalanceInp.Value End Sub Private Sub AudioEditor1_BlockOperation(ByVal Procent As Integer) 'StatusBar1.Panels(1) = Procent Progress(0).Value = Procent DoEvents End Sub Private Sub AudioEditor1_ChangePosition() SetPosition End Sub Private Sub AudioEditor1_EndOperation() ' MsgBox "End Operation" End Sub Private Sub AudioEditor1_Meter(ByVal LevelLeft As Long, ByVal LevelRight As Long) 'this sub starts on appearing the Meter event On Error Resume Next Progress(0).Value = LevelLeft Progress(1).Value = LevelRight End Sub Private Sub NewFile() AudioEditor1.New FQ_44_KHZ, STEREO End Sub Private Sub OpenFile() Dim FileName As String FileName = ShowDialog(1) AudioEditor1.Open FileName End Sub Private Sub SaveFile() Dim FileName As String FileName = ShowDialog(2) If FileName = "" Then Exit Sub Dim mp3lame As NCTAUDIOEDITOR2Lib.AudioEditor2LameEnc Set mp3lame = New AudioEditor2LameEnc mp3lame.Bitrate = BR_96_KBPS mp3lame.Frequency = FQ_32_KHZ mp3lame.VbrBitrate = BR_160_KBPS mp3lame.VbrCodingMethod = VBR_NEW AudioEditor1.FileFormat.SetFormatMP3Ex mp3lame AudioEditor1.Save FileName, False, Default Set mp3lame = Nothing End Sub Private Sub SetParam() StatusBar1.Panels(1).Text = CommonDialog1.FileName StatusBar1.Panels(2).Text = AudioEditor1.FileInfo.FormatString StatusBar1.Panels(3).Text = AudioEditor1.Position.TotalSamples Progress(0).Value = 0 Progress(1).Value = 0 SetPosition End Sub Private Sub SetPosition() StatusBar1.Panels(4).Text = AudioEditor1.Position.StartView StatusBar1.Panels(5).Text = AudioEditor1.Position.EndView StatusBar1.Panels(6).Text = AudioEditor1.Position.StartSelect StatusBar1.Panels(7).Text = AudioEditor1.Position.EndSelect If AudioEditor1.Position.Selected = False Then chSelect.Value = 0 Else chSelect.Value = 1 If AudioEditor1.Position.TotalSamples <> 0 Then udZHstart.Value = AudioEditor1.Position.StartView * 100 / AudioEditor1.Position.TotalSamples udZHend.Value = AudioEditor1.Position.EndView * 100 / AudioEditor1.Position.TotalSamples udSelStart.Value = AudioEditor1.Position.StartSelect * 100 / AudioEditor1.Position.TotalSamples udSelEnd.Value = AudioEditor1.Position.EndSelect * 100 / AudioEditor1.Position.TotalSamples Else udZHstart.Value = 0 udZHend.Value = 0 udSelStart.Value = 0 udSelEnd.Value = 0 End If End Sub Private Function ShowDialog(ByVal TypeF As Integer) ShowDialog = "" With CommonDialog1 .FileName = "" .DialogTitle = Title .CancelError = False If TypeF = 1 Then .DialogTitle = "Open ..." .Filter = "Wav Files (*.wav)|*.wav" .Filter = .Filter + "|MPEG Files (*.mp3;*.mp2;*.mpeg)|*.mp3;*.mp2;*.mpeg" .Filter = .Filter + "|OggVorbis Files (*.ogg)|*.ogg" .Filter = .Filter + "|AVI Files (*.avi)|*.avi" .Filter = .Filter + "|G.72x Files (*.g721;*.g723;*.g726)|*.*.g721;*.g723;*.g726" .Filter = .Filter + "|VOX Files (*.vox)|*.vox" .Filter = .Filter + "|RAW Files (*.raw; *.pcm)|*.raw;*.pcm" .Filter = .Filter + "|WMA Files (*.wma)|*.wma" .Filter = .Filter + "|CD Audio (*.cda)|*.cda" .ShowOpen ElseIf TypeF = 2 Then .DialogTitle = "Save as ..." .Filter = "Wav Files (*.wav)|*.wav" .Filter = .Filter + "|MP3 Files (*.mp3)|*.mp3" .Filter = .Filter + "|MP2 Files (*.mp2)|*.mp2" .Filter = .Filter + "|OggVorbis Files (*.ogg)|*.ogg" .Filter = .Filter + "|G.72x Files (*.g721;*.g723;*.g726)|*.*.g721;*.g723;*.g726" .Filter = .Filter + "|VOX Files (*.vox)|*.vox" .Filter = .Filter + "|RAW Files (*.raw; *.pcm)|*.raw;*.pcm" .Filter = .Filter + "|WMA Files (*.wma)|*.wma" .ShowSave End If If Len(.FileName) = 0 Then Exit Function If .FilterIndex = 6 Then frmVOX.Show 1, Me If .FilterIndex = 7 Then frmRAW.Show 1, Me If TypeF = 2 And .FilterIndex = 1 Then AudioEditor1.FileFormat.SetFormatFromMenu End If ShowDialog = .FileName End With fName = ShowDialog End Function Private Sub ChangeChannel() If (Toolbar1.Buttons(28).Value = tbrPressed And Toolbar1.Buttons(29).Value = tbrPressed) Then 'if both channels buttons are pressed then AudioEditor1.Channels.Num = 1 AudioEditor1.Channels.Visible = True AudioEditor1.Channels.Num = 2 AudioEditor1.Channels.Visible = True ElseIf (Toolbar1.Buttons(28).Value = tbrPressed And Toolbar1.Buttons(29).Value = tbrUnpressed) Then 'if only the left channel is enabled then AudioEditor1.Channels.Num = 1 AudioEditor1.Channels.Visible = True AudioEditor1.Channels.Num = 2 AudioEditor1.Channels.Visible = False ElseIf (Toolbar1.Buttons(28).Value = tbrUnpressed And Toolbar1.Buttons(29).Value = tbrPressed) Then AudioEditor1.Channels.Num = 1 AudioEditor1.Channels.Visible = False AudioEditor1.Channels.Num = 2 AudioEditor1.Channels.Visible = True ElseIf (Toolbar1.Buttons(28).Value = tbrUnpressed And Toolbar1.Buttons(29).Value = tbrUnpressed) Then AudioEditor1.Channels.Num = 1 AudioEditor1.Channels.Visible = False AudioEditor1.Channels.Num = 2 AudioEditor1.Channels.Visible = False End If End Sub Private Sub FFTFilter() Dim FFT(511) As Single Dim kBass As Single Dim kTreble As Single kBass = -0.5 kTreble = 0.5 For i = 0 To 511: FFT(i) = 1: Next i For i = 0 To 100: FFT(i) = FFT(i) + (1 - i / 100) * kBass: Next i For i = 100 To 511: FFT(i) = FFT(i) + ((i - 100) / 411) * kTreble: Next i AudioEditor1.Transform.FFTFilter FFT() End Sub Private Sub SetSrcOutput() cmbSrcOutput.Clear If AudioEditor1.DeviceOutput.DeviceLines.Count < 0 Then Exit Sub kSrcOutput = AudioEditor1.DeviceOutput.DeviceLines.Num For i = 0 To AudioEditor1.DeviceOutput.DeviceLines.Count AudioEditor1.DeviceOutput.DeviceLines.Num = i cmbSrcOutput.AddItem AudioEditor1.DeviceOutput.DeviceLines.Name Next AudioEditor1.DeviceOutput.DeviceLines.Num = kSrcInput cmbSrcOutput.ListIndex = kSrcInput End Sub Private Sub SetSrcInput() cmbSrcInput.Clear If AudioEditor1.DeviceInput.DeviceLines.Count < 0 Then Exit Sub kSrcInput = AudioEditor1.DeviceInput.DeviceLines.Num For i = 0 To AudioEditor1.DeviceInput.DeviceLines.Count AudioEditor1.DeviceInput.DeviceLines.Num = i cmbSrcInput.AddItem AudioEditor1.DeviceInput.DeviceLines.Name If AudioEditor1.DeviceInput.DeviceLines.Select Then kSrcInput = i Next AudioEditor1.DeviceInput.DeviceLines.Num = kSrcInput cmbSrcInput.ListIndex = kSrcInput End Sub Private Sub udSelEnd_DownClick() AudioEditor1.Position.EndSelect = udSelEnd.Value * AudioEditor1.Position.TotalSamples / 100 End Sub Private Sub udSelEnd_UpClick() AudioEditor1.Position.EndSelect = udSelEnd.Value * AudioEditor1.Position.TotalSamples / 100 End Sub Private Sub udSelStart_DownClick() AudioEditor1.Position.StartSelect = udSelStart.Value * AudioEditor1.Position.TotalSamples / 100 End Sub Private Sub udSelStart_UpClick() AudioEditor1.Position.StartSelect = udSelStart.Value * AudioEditor1.Position.TotalSamples / 100 End Sub Private Sub udZHend_DownClick() AudioEditor1.Position.EndView = udZHend.Value * AudioEditor1.Position.TotalSamples / 100 End Sub Private Sub udZHend_UpClick() AudioEditor1.Position.EndView = udZHend.Value * AudioEditor1.Position.TotalSamples / 100 End Sub Private Sub udZHstart_DownClick() AudioEditor1.Position.StartView = udZHstart.Value * AudioEditor1.Position.TotalSamples / 100 End Sub Private Sub udZHstart_UpClick() AudioEditor1.Position.StartView = udZHstart.Value * AudioEditor1.Position.TotalSamples / 100 End Sub Private Sub udZV_Change() AudioEditor1.ZoomVertical udZV.Value End Sub